﻿<UserControl x:Class="AbhiRuchiFoods.TemporaryEmployeeInformation"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="800" d:DesignWidth="1024">
    <ScrollViewer HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto" Width="auto">
        <Grid>
            <Grid.RowDefinitions>
                <RowDefinition Height="5*"></RowDefinition>
                <RowDefinition Height="95*"></RowDefinition>
            </Grid.RowDefinitions>

            <Grid Grid.Row="0">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="100*"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <Grid  Grid.Row="0" Grid.Column="0">
                    <Label Name="lblHeader" Content="Profile Management- Temporary Employee" HorizontalAlignment="Center" VerticalAlignment="Center" FontWeight="Bold"></Label>
                </Grid>
            </Grid>
            <Grid Grid.Row="1">
                <Grid>
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="50*"></ColumnDefinition>
                        <ColumnDefinition Width="50*"></ColumnDefinition>
                    </Grid.ColumnDefinitions>
                    <Grid Grid.Column="0">
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="20*"></ColumnDefinition>
                            <ColumnDefinition Width="80*"></ColumnDefinition>
                        </Grid.ColumnDefinitions>

                        <Label Grid.ColumnSpan="2" Name="lblPersonal" Content="Personal Information" Margin="0,0,0,0" HorizontalAlignment="Center" VerticalAlignment="Top" FontWeight="Bold"></Label>

                        <Label Grid.Column="0" Margin="10,30,0,0"  Name="lblFirstName" Content="First Name"></Label>
                        <TextBox Grid.Column="1" Margin="10,30,0,0" Name="txtFirstName" HorizontalAlignment="Left" Width="390" Height="25"  VerticalAlignment="Top"></TextBox>

                        <Label Grid.Column="0"  Name="lblLastName" Margin="10,70,0,0" Content="Last Name"></Label>
                        <TextBox Grid.Column="1" Margin="10,70,0,0"  Name="txtLastName" HorizontalAlignment="Left" Width="390" Height="25" VerticalAlignment="Top"></TextBox>

                        <Label Grid.Column="0"  Name="lblReferedBy" Margin="10,120,0,0" Content="Refered By"></Label>
                        <TextBox Grid.Column="1" Margin="10,120,0,0"  Name="txtReferedBy" HorizontalAlignment="Left" Width="390" Height="25" VerticalAlignment="Top"></TextBox>

                        <Label Grid.Column="0"  Name="lblAddress" Margin="10,170,0,0" Content="Address"></Label>
                        <TextBox Grid.Column="1" Margin="10,170,0,0"  Name="txtAddress" HorizontalAlignment="Left" Width="390" Height="150" VerticalAlignment="Top"></TextBox>

                        <Label Grid.Column="0"  Name="lblPhoneNo" Margin="10,355,0,0" Content="Phone No"></Label>
                        <TextBox Grid.Column="1" Margin="10,355,0,0"  Name="txtPhone" HorizontalAlignment="Left" Width="390" Height="25" VerticalAlignment="Top"></TextBox>

                        <CheckBox Grid.Column="1" Name="chkIsActive" Content="Is Active" HorizontalAlignment="Left" Width="190" IsChecked="True" Height="20" VerticalAlignment="Top" Margin="10,415,0,0"></CheckBox>

                    </Grid>
                    <Grid Grid.Column="1">
                        <Label Name="lblBiometric" Margin="10,10,0,0" Content="Biometric Information" HorizontalAlignment="Center" FontWeight="Bold"></Label>
                        <Label Name="lblPhoto" Margin="40,40,0,0" Content="Photo" HorizontalAlignment="Left"></Label>
                        <Image Name="imgEmp" Margin="40,70,0,0" Height="150" Width="150" HorizontalAlignment="Left" VerticalAlignment="Top" Source="/AbhiRuchiFoods;component/Images/Icon.png"></Image>
                        <Button Name="btnUpload" HorizontalAlignment="Left" VerticalAlignment="Top" Content="Upload Photo" Margin="216,190,0,0" Width="140" Height="30" Click="btnUpload_Click"></Button>


                        <Button Name="btnRegisterNew" HorizontalAlignment="Left" VerticalAlignment="Top" Content="Register New Impression" Margin="40,280,0,0" Width="140" Height="30" Click="btnRegisterNew_Click"></Button>
                        <Button Name="btnClearImpressions" HorizontalAlignment="Left" VerticalAlignment="Top" Content="Clear All Impressions" Margin="200,280,0,0" Width="140" Height="30" Click="btnClearImpressions_Click"></Button>
                        <Button Content="Compare Impressions" Height="30" Margin="360,280,0,0" Name="btnCompare" VerticalAlignment="Top" HorizontalAlignment="Left" Width="140" Click="btnCompare_Click" />

                        <Button Name="btnSubmit" HorizontalAlignment="Left" VerticalAlignment="Top" Content="Submit Profile" Margin="200,500,0,0" Width="140" Height="30" Click="btnSubmit_Click"></Button>
                        <Button Name="btnClear" HorizontalAlignment="Left" VerticalAlignment="Top" Content="Clear" Margin="360,500,0,0" Width="140" Height="30" Click="btnClear_Click"></Button>



                    </Grid>
                </Grid>
            </Grid>

        </Grid>


    </ScrollViewer>
</UserControl>
